VBS converts the current time to UTC time
This article mainly introduces how to convert the current time to UTC time by using VBS. It is very simple and practical. For more information, see
For example, the following code returns at the current time:
PHP gmdate () functionPHP date/time functionDefinitions and usageThe Gmdate () function formats the GMT/UTC date/time.
Similar to the date () function, the difference is that the time returned is Greenwich Standard (GMT).
GrammarGmdate
Description
Reports the Universal Time Coordinate (UTC) time on a computer.
Script code CopyCodeCode: var wbemflagreturnimmediately = 0x10;VaR wbemflagforwardonly = 0x20;
VaR ob1_miservice = GetObject ("winmgmts: \\\\\. \ Root \ cimv2 ");VaR
In php, if we do not configure the time zone to run the date and time functions in php, some time zone errors will be prompted, or the time zone may be incorrect, which may be related to the Beijing time for several hours, next I will introduce it
When PHP versions later than PHP5.3 are used, if it is time-related,I am usingEcho date ('Y-m-D ');?>Prompt "PHP Warning: date () [function. date]: It is not safe to rely on the system's timezone settings. you are * required * to use the date.
Article Title: tip: "Disable" Echo output from Linux terminal. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
I. Linux common commands There are a lot of today we'll summarize the common entry commands:1.linux Shimonoseki command: Poweroff, init 0, Halt, Shutdown-h now2.linux Restart command: Reboot, init 6, Shutdown-r now3.shutdown command:Format: Shutdown
Introduction to clock and time in Linux 1) Introduction to the basic concepts of clock in Linux 2) exploring how the hwclock command works. 3) synchronization between the system clock and the hardware clock in Linux during system startup.
"Record error (production environment)"Ini:① turn on/off error log functionLog_errors = On② Setting the maximum number of bytes for log_errors1024Other:
Options
Describe
Log_errors
Sets whether to log error
When backing up files in embedded Linux, when the backup, the PC (Win7) and the Development Board time is 9:30, but the Development Board found that the file creation time is 9:30, and then the U disk inserted on the PC (Win7), found that the file
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.